﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PropertyManagement.Core.Model {
    public class MaintainView {
        public int MaintainID { get; set; }
        public string MaintainCode { get; set; }
        public bool Status { get; set; }
        public string StatusName {
            get { return Status ? "已修" : "未修"; }
        }
        public MaintainType MaintainType { get; set; }
        public string MaintainTypeName {
            get { return MaintainTypeHelper.GetMaintainTypeName(MaintainType); }
        }
        public string MaintainTopic { get; set; }
        public string Remark { get; set; }

        public DateTime ApplyDate { get; set; }
        public DateTime RepaireDate { get; set; }
        public string RepaireWorker { get; set; }

        public string HouseCode { get; set; }
        public string OwnerName { get; set; }
        public string ApartmentName { get; set; }

        public decimal MaintainFee { get; set; }
       

        public DateTime LastUpdate { get; set; }
        public string LastActionUserName { get; set; }
    }
}
